package com.project.webservice.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tbl_bus_employee_basic_info")
public class TblBusEmployeeBasicInfo extends Model<TblBusEmployeeBasicInfo> {
    @TableField("Name")
    private String name;
    @TableField("Sexuality")
    private String sexuality;
    @TableField("Dateofbirth")
    private String dateOfBirth;
    @TableField("IDnumber")
    private String idNumber;
    @TableField("Certificatenumber")
    private String certificateNumber;
    @TableField("Qualificationcategory")
    private String qualificationCategory;
    @TableField("certifyingauthority")
    private String certifyingAuthority;
    @TableField("ValidDate")
    private String validDate;
    @TableField("serviceunit")
    private String serviceUnit;
    @TableField("Driverlicenseissuedate")
    private String driverLicenseIssueDate;
    @TableField("DateofContinuingEducation")
    private String dateOfContinuingEducation;
    @TableId(value = "Cardno")
    private String cardNo;
    @TableField("Manufacturingdate")
    private LocalDateTime manufacturingDate;
}
